<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/static/include/taglib.jsp"%>
<!DOCTYPE html >
<html>
<head>
 <meta name="viewport" content="width=device-width" />
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
 <title>后台管理--模板编辑</title>
 <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet" />
 <link href="${ctxStatic}/css/kpiuitanchu.css" rel="stylesheet" />
 <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
 <script src="${ctxStatic}/layui/layui.all.js"  type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>

</head>
<body>
<div style="width:98%;margin:0 auto">
 <div style="padding:10px ">
      <span style="font-size:12px;font-weight: bold;color:#ffffff">部门：</span>
      <span style="font-size:12px;font-weight: bold;color:#B8E986">${userentity.orgname }</span>
      <span style="font-size:12px;font-weight: bold;margin-left:50px;color:#ffffff">身份证号：</span>
      <span style="font-size:12px;font-weight: bold;color:#B8E986">${userentity.cardno }</span>
      <span style="font-size:12px;font-weight: bold;margin-left:50px;color:#ffffff">姓名：</span>
      <span style="font-size:12px;font-weight: bold;color:#B8E986">${userentity.realname }</span>
     </div>
     
     <div class="indexcontent" >
         <table cellspacing="0" cellpadding="0" border="0" class="layui-table" style="margin:0;">
          <col width="50px"></col> 
         <!-- <col width="130px"></col> 
          <col width="150px"></col>  
          <col width="100px"></col> -->
          <col width="65px"></col>
          <col width="65px"></col>
          
          <col width="55px"></col>
          <col width="55px"></col>
          <col width="45px"></col>
          <col width="55px"></col>
          <col width="45px"></col>
          <col width="65px"></col>
          <col width="45px"></col>
          <col width="45px"></col>
          <col width="45px"></col>
          
          <col width="50px"></col>
          <col width="50px"></col>
          <col width="50px"></col>
        
           
          <col width="150px"></col>
          <col ></col>
              <thead>
                <tr>
                  <th rowspan="2">日期</th>
                  <!-- <th rowspan="2">单位</th>
                  <th rowspan="2">身份证号</th>
                  <th rowspan="2">姓名</th>-->
                  <th rowspan="2">是否出勤</th>
                  <th rowspan="2">是否加班</th>
                  <th colspan="9" style="padding-top:3px">未出勤</th>
                  <th rowspan="2">迟到</th>
                  <th rowspan="2">早退</th>
                  <th rowspan="2">旷工</th>
                  <th rowspan="2">备注</th>
                  <th rowspan="2"></th>
                </tr> 
                <tr>
                 <th style="padding-top:3px">年休假</th>
                 <th style="padding-top:3px">探亲假</th>
                 <th style="padding-top:3px">婚假</th>
                 <th style="padding-top:3px">生育假</th>
                 <th style="padding-top:3px">丧假</th>
                 <th style="padding-top:3px">因公致伤</th>
                 <th style="padding-top:3px">病假</th>
                 <th style="padding-top:3px">事假</th>
                 <th style="padding-top:3px">其他</th>
                </tr>
              </thead>
         </table>
       
       <div class="selftable" id="selftable" style="height:360px">
         <table cellspacing="0" cellpadding="0" border="0" class="layui-table" style="margin:0;width:100%">
          <col width="50px"></col> 
         <!--  <col width="130px"></col> 
          <col width="150px"></col> 
          <col width="100px"></col> -->
          <col width="65px"></col>
          <col width="65px"></col>
         
          <col width="55px"></col>
          <col width="55px"></col>
          <col width="45px"></col>
          <col width="55px"></col>
          <col width="45px"></col>
          <col width="65px"></col>
          <col width="45px"></col>
          <col width="45px"></col>
          <col width="45px"></col>
         
          <col width="50px"></col>
          <col width="50px"></col>
          <col width="50px"></col>
          <col width="150px"></col>
          <col ></col>
              <tbody>
               <c:forEach var="item" items="${list}" varStatus="idxStatus">
                <tr>
                 <td>${item.day}</td>
                 <td style="padding:0">
                  <c:if test="${item.sfcq==0 }">否</c:if>
                  <c:if test="${item.sfcq==1}">是</c:if>
                  
                  </td>
                 <td style="padding:0">
                   <c:if test="${item.sfjb==0 }">否</c:if>
                   <c:if test="${item.sfjb==1 }">是</c:if>
                  
                 </td>
                 <td>
                   <c:if test="${item.nxj>0 }">
                    <font style="color:red">${item.nxj}</font>
                   </c:if>
                   <c:if test="${item.nxj==0 }">
                    ${item.nxj}
                    </c:if>
                 </td>
                 <td>
                  <c:if test="${item.tqj>0 }">
                    <font style="color:red">${item.tqj}</font>
                   </c:if>
                   <c:if test="${item.tqj==0 }">
                    ${item.tqj}
                   </c:if>
                 </td>
                 <td>
                   <c:if test="${item.hj>0 }">
                    <font style="color:red">${item.hj}</font>
                   </c:if>
                   <c:if test="${item.hj==0 }">
                    ${item.hj}
                   </c:if>
                  </td>
                 <td>
                   <c:if test="${item.syj>0 }">
                    <font style="color:red">${item.syj}</font>
                   </c:if>
                   <c:if test="${item.syj==0 }">
                    ${item.syj}
                   </c:if>
                 </td>
                 <td>
                   <c:if test="${item.sj>0 }">
                    <font style="color:red">${item.sj}</font>
                   </c:if>
                   <c:if test="${item.sj==0 }">
                    ${item.sj}
                   </c:if>
                 </td>
                 <td>
                   <c:if test="${item.ygzs>0 }">
                    <font style="color:red">${item.ygzs}</font>
                   </c:if>
                   <c:if test="${item.ygzs==0 }">
                    ${item.ygzs}
                   </c:if>
                 </td>
                 <td>
                   <c:if test="${item.bj>0 }">
                    <font style="color:red">${item.bj}</font>
                   </c:if>
                   <c:if test="${item.bj==0 }">
                    ${item.bj}
                   </c:if>
                 </td>
                 <td>
                   <c:if test="${item.shij>0 }">
                    <font style="color:red">${item.shij}</font>
                   </c:if>
                   <c:if test="${item.shij==0 }">
                    ${item.shij}
                   </c:if>
                 </td>
                 <td>
                  <c:if test="${item.qt>0 }">
                    <font style="color:red">${item.qt}</font>
                   </c:if>
                   <c:if test="${item.qt==0 }">
                    ${item.qt}
                   </c:if>
                 </td>
                 <td style="padding:0">
                  <c:if test="${item.cd==0 }">否</c:if>
                  <c:if test="${item.cd==1 }">是</c:if>
                 </td>
                 <td style="padding:0">
                  <c:if test="${item.zt==0 }">否</c:if>
                  <c:if test="${item.zt==1 }">是</c:if>
                 </td>
                 <td style="padding:0">
                   <c:if test="${item.zt==0 }">否</c:if>
                   <c:if test="${item.zt==1 }">是</c:if>
                 </td>
                 <td style="padding:0"> ${item.remark}</td>
                 <c:if test="${idxStatus.index==0 }">
                   <td rowspan="${fn:length(list)}"></td>
                 </c:if>
              
                </tr>
               </c:forEach>
               
              </tbody>
            </table>
       </div>
     </div>

    
      <input type="hidden" name="detailids" value="${detailids}">
      <input type="hidden" name="attsummaryid" value="${attsummaryid}">
      </div>
      
  
 <!--  <div style="width:90%;text-align: right;margin-top:15px;margin-right:100px">
   <button class="layui-btn" lay-submit="" lay-filter="demo1" id="btnsave">保存</button>
  <input type="button" class="layui-btn layui-btn-primary"  value="关闭" onclick="top.CloseOpenWindow()" />
 </div>-->
</body>
</html>